

#include "PexReactor.hpp"
#include "Peer.hpp"

PEXReactor::PEXReactor(std::unique_ptr<NodeTable>& nodeTable, 
                        PEXReactor::Option const& option):
                nodeTable_(std::move(nodeTable)),
                seedMode_(option.seedMode),
                seeds_(std::move(option.seeds)),
                privatePeerIDs_(std::move(option.privatePeerIDs))
{

}

void PEXReactor::start()
{

}

std::unique_ptr<std::vector<byte>> PEXReactor::getChannels()
{
    return std::unique_ptr<std::vector<byte>>(new std::vector<byte>(1,kPexChannel));
}



void PEXReactor::addPeer(Peer const& peer)
{

}